<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>OA协同办公系统</title>
		<link href="css/common.css" rel="stylesheet" type="text/css" />
		<link href="css/table.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="js/openwindow.js"></script>
		<script src="js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				$(".flex").click(function(){
					$(".panel").slideToggle("slow");
				});
				$(".flex2").click(function(){
					$(".panel2").slideToggle("slow");
				});
				$(".flex3").click(function(){
					$(".panel3").slideToggle("slow");
				});
				$(".flex4").click(function(){
					$(".panel4").slideToggle("slow");
				});
				$(".flex5").click(function(){
					$(".panel5").slideToggle("slow");
				});
				$(".flex6").click(function(){
					$(".panel6").slideToggle("slow");
				});
			 });
	
			function taskPop(val){
				if(val=='memo'){
				   	var url ="memoList.action";
				}
				if(val=='taskWarn'){
					var url ="todoTaskList.action";
				}
				if(val=='taskNotify'){
					var url ="taskList.action"
				}
				if(val=='mailCount'){
					var url="inMailManager.action"
				}
				if(val=='totalCount'){
					var url="taskPoliceTeamList.action"
				}
				openWindow(url,1009,450);
			}

			function todoList(){
				$.post("getTodoList.action",null,function(data){
					var memo =data.memo;
					var taskWarn =data.taskWarn;
					var mailCount=data.mailCount;
					var totalCount=data.totalCount;
					var info="";
						info+="<tr><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td><td width=\"359\" height=\"24\" align=\"left\"><a href=\"javascript:taskPop('mailCount')\">未读邮件（"+mailCount+"）</a></td><tr>";
						info+="<tr><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td><td width=\"359\" height=\"24\" align=\"left\"><a href=\"javascript:taskPop('totalCount')\">待办协作（"+totalCount+"）</a></td><tr>";
						info+="<tr><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td><td width=\"359\" height=\"24\" align=\"left\"><a href=\"javascript:taskPop('taskWarn')\">日程提醒（"+taskWarn+"）</a></td><tr>";
					$("#task").html(info);
				},"json");
			}
	
			function newsList(){
				$.post("newNotice.action",null,function(data){
					var s=document.body.offsetWidth;
					var count=17;
					if(s>=843&&s<893){
						count=16;
					}
					else if(s>=893&&s<1043){
						count=19;
					}
					else if(s>=1043&&s<1093){
						count=22;
					}
					else if(s>=1093&&s<1143){
						count=25;
					}
					else{
						count=28;
					}
					var newsList = data.noticList;
					var ionf="";
					var date="";
					for(var i=0;i<newsList.length;i++){
						date =(newsList[i].createTime.year-100+2000)+"-"+(newsList[i].createTime.month+1)+"-"+(newsList[i].createTime.date);
						ionf+="<tr><td width=\"5%\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td>";
						ionf+="<td width=\"74%\" height=\"24\" align=\"left\"><a href=\"javascript:getDetail('new',"+newsList[i].id+")\">"+newsList[i].title.substr(0,count)+"...</a></td>";
						ionf+="<td align=\"right\"><span class=\"cs\">"+date+"</span></td></tr>";
					}
					$("#newlis").html(ionf);
				},"json");
			}
	

			function maliLis(){
				$.post("mailNew.action",null,function(data){
					var s=document.body.offsetWidth;
					var count=14;
					if(s>=843&&s<893){
						count=14;
					}
					else if(s>=893&&s<1043){
						count=17;
					}
					else if(s>=1043&&s<1093){
						count=20;
					}
					else if(s>=1093&&s<1143){
						count=23;
					}
					else{
						count=26;
					}
					var maliLis=data.oibfoList;
					var ionf="";
					var date="";
					for(var i=0;i<maliLis.length;i++){
						date =(maliLis[i].inMail.createTime.year-100+2000)+"-"+(maliLis[i].inMail.createTime.month+1)+"-"+(maliLis[i].inMail.createTime.date);
						if(maliLis[i].inMail.status == '紧急'){
							 ionf+="<tr><td width=\"5%\"><em class=\"m"+maliLis[i].ifRead+"\"></em></td>";
				             ionf+="<td width=\"74%\" height=\"24\" align=\"left\"><span class=\"pt\" >["+maliLis[i].inMail.status+"]</span> <a href=\"javascript:getDetail('mail',"+maliLis[i].inMail.id+")\" style=\"color:#F00\" class=\"link2\">"+maliLis[i].inMail.title.substring(0,count)+"...</a></td>";
							 ionf+="<td align=\"right\"><span class=\"cs\">"+date+"</span></td></tr>";
						}else{
							 ionf+="<tr><td width=\"5%\"><em class=\"m"+maliLis[i].ifRead+"\"></em></td>";
				             ionf+="<td width=\"74%\" height=\"24\" align=\"left\"><span class=\"pt\">["+maliLis[i].inMail.status+"]</span> <a href=\"javascript:getDetail('mail',"+maliLis[i].inMail.id+")\" class=\"link2\">"+maliLis[i].inMail.title.substring(0,count)+"...</a></td>";
							 ionf+="<td align=\"right\"><span class=\"cs\">"+date+"</span></td></tr>";
						}
					}
					$("#mailList").html(ionf);
				},"json");
			}
            
			function bulleList(){
				$.post("bulletin.action",null,function(data){
					var s=document.body.offsetWidth;
					var count=16;
					if(s>=843&&s<893){
						count=16;
					}
					else if(s>=893&&s<1043){
						count=19;
					}
					else if(s>=1043&&s<1093){
						count=22;
					}
					else if(s>=1093&&s<1143){
						count=25;
					}
					else{
						count=28;
					}
					var bulleList = data.bulletinList;
					var info="";
					var date="";
					for(var i=0;i<bulleList.length;i++){
						date =(bulleList[i].createTime.year-100+2000)+"-"+(bulleList[i].createTime.month+1)+"-"+(bulleList[i].createTime.date);
						info+="<tr><td width=\"5%\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td>";
						info+="<td width=\"74%\" height=\"24\" align=\"left\"><a href=\"javascript:wordlook("+bulleList[i].contentId+")\">"+bulleList[i].title.substring(0,count)+"...</a></td>";
						info+="<td align=\"right\"><span class=\"cs\">"+date+"</span></td></tr>";
					}
					$("#notice").html(info);
				},"json");
			}

			function quickMenu(){
				$.post("homeQuickMenu.action",null,function(data){
					var list = data.menuList;
					var info="<tr>";
					if(list.length==0){
						info+="<td><a href='quickMenu.action'>设置快捷菜单</a></td>";
					}
					for(var i=0;i<list.length;i++){
						info+="<td align=\"left\" style='padding-left:30px;' width='10%'> <a href=\""+list[i].url+"\" class=\"link1\">";
						info+="<img src=\""+list[i].imgUrl+"\" width=\"32px\" height=\"30px\" /> <br />"+list[i].name+"</a></td>";
					}
					info+="</tr>";
					$("#menu").html(info);
				},"json");
			}


		function wordlook(id) {
			var url = "wordChange.action?contentId="+id+"&editType=-1,1,0,0,0,0,0";
			openWindow(url,screen.width,screen.height);
		}

			function getDetail(val,id){
				var url="";
		         if(val=='mail'){
		           window.location.href="getOInMail.action?status=index&mailId="+id;
				}else if(val=='new'){
					url="getInfoView.action?info.id="+id;
					openWindow(url,screen.width,screen.height);        
				}else if(val=='task'){
					window.location.href="getDocumentInfo.action?docId="+id;
				}
			}
	
			function manageForm(id,flowId){
				var url="getWorkFlowSign.action?tableId="+id+"&flowId="+flowId+"&status=index";
				openWindow(url,700,500);
			}
	
			function flowList(){
				$.post("homeFlow.action",null,function(data){
					var s=document.body.offsetWidth;
					var count=13;
					if(s>=843&&s<893){
						count=13;
					}
					else if(s>=893&&s<1043){
						count=16;
					}
					else if(s>=1043&&s<1093){
						count=19;
					}
					else if(s>=1093&&s<1143){
						count=22;
					}
					else{
						count=25;
					}
					var list = data.documentList;
					var info="";
					if(list!=null){
						for(var i=0;i<list.length;i++){
							if(list[i].sfstatus == '2'){
								info+="<tr style=\"color:#F00\"><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td>";
								info+="<td width=\"74%\" height=\"24\" align=\"left\">[收文]<a href=\"javascript:openWindow('getTaskDoc.action?docId="+list[i].id+"&status=index',screen.width,screen.height)\">"+list[i].title.substring(0,count)+"...</a></td>";
								info+="<td align=\"right\"><span class=\"cs\">"+list[i].blqk+"</span></td></tr>";
							}else if(list[i].sfstatus == '1'){
								info+="<tr style=\"color:#F00\"><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td>";
								info+="<td width=\"74%\" height=\"24\" align=\"left\">[发文]<a href=\"javascript:openWindow('getTaskDoc.action?docId="+list[i].id+"&status=index',screen.width,screen.height)\">"+list[i].title.substring(0,count)+"...</a></td>";
								info+="<td align=\"right\"><span class=\"cs\">"+list[i].blqk+"</span></td></tr>";
							}else{
								info+="<tr style=\"color:#F00\"><td width=\"13\" align=\"center\"><img src=\"image/k7.jpg\" width=\"3\" height=\"3\" /></td>";
								info+="<td width=\"74%\" height=\"24\" align=\"left\">[工作流程]<a href=\"javascript:manageForm('"+list[i].id+"','"+list[i].sfstatus+"')\">"+list[i].title.substring(0,count)+"...</a></td>";
								info+="<td align=\"right\"><span class=\"cs\">"+list[i].blqk+"</span></td></tr>";
							}
						}
					}
					$("#docTask").html(info);
				},"json");
			}
	
			setTimeout(newsList, 300); 
			setTimeout(maliLis, 300); 
			setTimeout(bulleList, 300); 
			setTimeout(todoList, 300); 
			setTimeout(quickMenu, 300); 
			setTimeout(flowList, 300); 
			setTimeout(countFiel, 300); 
	
			function bull(val){
				$("#"+val).html("<tr><td><img src=\"image/excloading.gif\"></td></tr>");
				if(val=='notice'){
					setTimeout(bulleList, 300);
				}else if(val=='newlis'){
					setTimeout(newsList, 300); 
				}else if(val=='mailList'){
					setTimeout(maliLis, 300);
				}else if(val=='task'){
					setTimeout(todoList, 300);
				}else{
					setTimeout(flowList, 300);
				}
			}
	
			function openPost(){
				var url="viewSeals.action?template=2";
					openWindow(url,750,700);
			}
			function countList(){
				$.post("countDocList.action",null,function(data){
					var waitDoc=data.waitDoc;
					var waitDown=data.waitDown;
					$("#waitDown").html(waitDoc);
					$("#waitDoc").html(waitDown);
				},"json");
			}
			
			function countFiel(){
			 	$.post("countFiel.action",null,function(data){
			 		var count = data.split(",")
		 			$("#waidDoc").html(count[0]);
		 			$("#waitEnd").html(count[1]);
		 			$("#taskNotify").html(count[2]);
		 			$("#report").html(count[3]);
			 	});
			 }
			setTimeout(countList, 300);
		</script>
	</head>
	<body>
		<table  width="100%" align="left" border="0" cellspacing="5" cellpadding="0">
			<tr>
				<td valign="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#A9CCE9">
						<tr>
							<td height="26" background="image/bt.jpg">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="22">
											<img src="image/tb3.jpg" width="8" height="7" />
										</td>
										<td align="left" class="z333">
											快捷便签
										</td>
										<td width="100" align="right" class="z333">
											&nbsp;
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td height="86" align="left" bgcolor="#FFFFFF">
								<table id="menu" width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td>
											<img src="image/excloading.gif">
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5"></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="190" valign="top">
								<table width="100%" border="0" cellpadding="0" cellspacing="1"
									bgcolor="#A9CCE9">
									<tr>
										<td height="26" background="image/bt.jpg">
											<table width="100%" border="0" cellpadding="0" cellspacing="0">
												<tr>
													<td width="12">
														<img src="image/tb3.jpg" width="8" height="7" />
													</td>
													<td align="left" width="100" class="z333">
														待办文件
													</td>
													<td class="z333">
														<table align="right" width="80" border="0" cellspacing="0" cellpadding="0">
															<tr>
																<td>
																	<a href="javascript:bull('docTask')"> <img src="image/d1.jpg" width="12"
																			height="11" /> </a>
																</td>
																<td class="flex">
																	<a href="#"><img src="image/d2.jpg" width="10"
																			height="2" /> </a>
																</td>
																<td>
																	<a href="waitFiel.action" target="rightFrame">更多>> </a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr class="panel">
										<td height="170" valign="top" align="left" bgcolor="#FFFFFF"  style="background: url('image/home_back.jpg') center bottom no-repeat;" >
											<table width="100%" border="0" id="docTask" align="center" cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<img src="image/excloading.gif">
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="10"></td>
							<td width="50%" height="190" valign="top">
								<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#A9CCE9">
									<tr>
										<td width="100%" height="26" background="image/bt.jpg">
											<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
												<tr>
													<td align="left" width="22">
														<img src="image/tb3.jpg" width="8" height="7" />
													</td>
													<td align="left" class="z333">
														我的邮件
													</td>
													<td width="100" align="right" class="z333">
														<table width="80" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td align="center">
																	<a href="javascript:bull('mailList')"><img src="image/d1.jpg" width="12"
																			height="11" /> </a>
																</td>
																<td class="flex3" align="center">
																	<a href="#"><img src="image/d2.jpg" width="10"
																			height="2" /> </a>
																</td>
																<td align="center">
																	<a href="inMailManager.action" target="rightFrame">更多>> </a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr class="panel3">
										<td height="170" valign="top" align="left" bgcolor="#ffffff"  style="background: url('image/home_back.jpg') center bottom no-repeat;" >
											<table width="100%" id="mailList"  border="0" align="center" cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<img src="image/excloading.gif">
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5"></td>
						</tr>
					</table>
					
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="190" valign="top">
								<table width="100%" border="0" cellpadding="0" cellspacing="1"
									bgcolor="#A9CCE9">
									<tr>
										<td height="26" background="image/bt.jpg">
											<table width="100%" border="0" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="12">
														<img src="image/tb3.jpg" width="8" height="7" />
													</td>
													<td align="left" width="100" class="z333">
														最新公告
													</td>
													<td class="z333">
														<table align="right" width="80" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td>
																	<a href="javascript:bull('newlis')"> <img src="image/d1.jpg" width="12"
																			height="11" /> </a>
																</td>
																<td class="flex2">
																	<a href="#"><img src="image/d2.jpg" width="10"
																			height="2" /> </a>
																</td>
																<td>
																	<a href="InformationReview.action?columnId=1&method=notice" target="rightFrame">更多>> </a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr class="panel2">
										<td height="170" valign="top" align="left" bgcolor="#FFFFFF"  style="background: url('image/home_back.jpg') center bottom no-repeat;" >
											<table width="100%" border="0" id="newlis" align="center"
												cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<img src="image/excloading.gif">
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="10"></td>
							<td width="50%" height="190" valign="top">
								<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#A9CCE9">
									<tr>
										<td width="100%" height="26" background="image/bt.jpg">
											<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
												<tr>
													<td align="left" width="22">
														<img src="image/tb3.jpg" width="8" height="7" />
													</td>
													<td align="left" class="z333">
														通知通报
													</td>
													<td width="100" align="right" class="z333">
														<table width="80" border="0" cellspacing="0"
															cellpadding="0">
															<tr>
																<td align="center">
																	<a href="javascript:bull('notice')"><img src="image/d1.jpg" width="12"
																			height="11" /> </a>
																</td>
																<td class="flex4" align="center">
																	<a href="#"><img src="image/d2.jpg" width="10"
																			height="2" /> </a>
																</td>
																<td align="center">
																	<a href="noticeListManage.action" target="rightFrame">更多>> </a>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr class="panel4">
										<td height="170" valign="top" align="left" bgcolor="#FFFFFF"  style="background: url('image/home_back.jpg') center bottom no-repeat;" >
											<table width="100%" id="notice" border="0" align="center"
												cellpadding="0" cellspacing="0">
												<tr>
													<td>
														<img src="image/excloading.gif">
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
				<td  width="220" valign="top">
					<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#A9CCE9">
						<tr>
							<td height="26" background="image/bt.jpg">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="22">
											<img src="image/tb3.jpg" width="8" height="7" />
										</td>
										<td align="left" class="z333">
											文件办理
										</td>
										<td width="100" align="left" class="z333">
											<table width="100" border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td align="center">
														&nbsp;
													</td>
													<td align="center">
														<a href="#"><img src="image/d1.jpg" width="12"
																height="11" />
														</a>
													</td>
													<td class="flex6" align="center">
														<a href="#"><img src="image/d2.jpg" width="10"
																height="2" />
														</a>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr class="panel6">
							<td height="150" align="left" bgcolor="#FFFFFF">
								<table width="96%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
											<p><a href="waitFiel.action">
												待批文件
												<span class="zff33" id="waidDoc">0</span>件
												</a>
											</p>
										</td>
									</tr>
									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
											<p><a href="getDocDownList.action">
												待阅文件
												<span class="zff33" id="waitDown">0</span>件
												</a>
											</p>
										</td>
									</tr>
									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
											<p><a href="hasWaitFiel.action">
												已批文件
												<span class="zff33" id="waitEnd">0</span>件
											</a></p>
										</td>
									</tr>
									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
											<p><a href="getDocDownList.action?look=1">
												已阅文件
												<span class="zff33" id="waitDoc" >0</span>件
											</a></p>
										</td>
									</tr>

									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
										<a href="guardFiel.action">
											在办监控
											<span class="zff33" id="report">0</span>件
										</a></td>
									</tr>
									<tr>
										<td width="20">
											<img src="image/dd1.jpg" width="6" height="6" />
										</td>
										<td height="24" align="left">
										<a href="rejectFiel.action">
											返回文件
											<span class="zff33" id="taskNotify">0</span>件
										</a></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5"></td>
						</tr>
					</table>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#A9CCE9">
						<tr>
							<td height="26" background="image/bt.jpg">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="22">
											<img src="image/tb3.jpg" width="8" height="7" />
										</td>
										<td align="left" class="z333">
											工作提醒
										</td>
										<td width="100" align="left" class="z333">
											<table width="100"  border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td align="center">
														&nbsp;
													</td>
													<td align="center">
														<a href="javascript:bull('task')"><img src="image/d1.jpg" width="12" height="11" />
														</a>
													</td>
													<td class="flex5" align="center">
														<a href="#"><img src="image/d2.jpg" width="10" height="2" />
														</a>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr class="panel5" >
							<td height="100" valign="top" align="left" bgcolor="#FFFFFF">
								<table width="96%" id="task" border="0" align="center" cellpadding="0" cellspacing="0">
									<tr>
										<td><img src="image/excloading.gif"></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5"></td>
						</tr>
					</table>
					<table width="100%" border="0" cellpadding="0" cellspacing="1"
						bgcolor="#A9CCE9">
						<tr>
							<td height="26" background="image/bt.jpg">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="22">
											<img src="image/tb3.jpg" width="8" height="7" />
										</td>
										<td align="left" class="z333">
											日历
										</td>
										<td width="100" align="left" class="z333">
											&nbsp;
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td height="155" align="center" bgcolor="#FFFFFF">
								<div id="div1" style="width: 200px"></div>
								<script>
			var time=$("#time").val();
			WdatePicker({eCont:'div1',onpicked:function(dp){
			window.location.href="taskListByMonth.action?time="+dp.cal.getDateStr()+"&status=2";
			}})
			</script>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td height="5"></td>
						</tr>
					</table>
					
				</td>
			</tr>
		</table>
	</body>
</html>